package com.example.pingze.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
public class PoetInfo {
    @Id
    private String id;
    //诗人名
    @Column(name = "poet_name")
    private String poetName;
    //诗人头像
    @Column(name = "head_image_url")
    private String headImageUrl;
    //简要介绍
    @Column(name = "simple_intro")
    private String simpleIntro;
}
